function fn () {
    console.log(arguments.length)
}

fn(10,20,30)

// Javascript Standard Style

// Airbnb Javascript Style

function gn () {
    let a = 'this';
    let b = 'is';
    console.log(a + ' ' + b);
}

gn();

function f () {
    let args = [];

    return function () {
        if (arguments.length === 0) {
            console.log('Nothing');
        } else {
           args = [...args,...arguments]
           console.log(args);
        }
    }
}

let g = f ();

g(1,2,3,4,5);
